<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1.0">
  <title>辽宁高速新媒体运营实时数据</title>
</head>
<script>
  (function (doc, win, pwidth, prem) {
    var docEl = doc.documentElement,
      resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
      recalc = function () {
        var clientWidth = docEl.clientWidth;
        console.log(clientWidth)
        if (!clientWidth) return;
        docEl.style.fontSize = prem * (clientWidth / pwidth) + 'px';
      };
    if (!doc.addEventListener) return;
    win.addEventListener(resizeEvt, recalc, false);
    doc.addEventListener('DOMContentLoaded', recalc, false);
  })(document, window, 1920, 100);

</script>

<body>
  <div id="app"></div>
  <!-- built files will be auto injected -->
</body>

</html>